package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.dao.OmcCheckRecordMapper;
import com.csun.cmny.provider.model.domain.OmcCheckRecord;
import com.csun.cmny.provider.model.dto.inventory.CheckRecordQueryDto;
import com.csun.cmny.provider.model.vo.inventory.CheckRecordVo;
import com.csun.cmny.provider.service.OmcCheckRecordService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
@Transactional
public class OmcCheckRecordServiceImpl extends BaseService<OmcCheckRecord> implements OmcCheckRecordService {
    @Resource
    private OmcCheckRecordMapper checkRecordMapper;

    @Override
    public List<CheckRecordVo> selectCheckRecord(CheckRecordQueryDto checkRecordQueryDto) {
        return checkRecordMapper.selectCheckRecord(checkRecordQueryDto);
    }
}
